package com.example.demo.service;

import com.example.demo.entity.User;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.stereotype.Repository;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Fyly
 * @since 2019-03-30
 */
public interface IUserService extends IService<User> {

   /*
    * 添加用户
    * */
    boolean save(User user);

    /*//*
    * 根据id更新用户
    * *//*
    boolean updateById(User user);

    /*
    * 根据id来查找用户
    * */
    User getById(Integer id);

    /*
    * 根据id来删除用户
    * */
    boolean removeById(Integer id);
}
